<nav class="tabbar">
    <div class="bar">
        @if($tab === 'home')
                <div class="item" data-link="{{url('/mobile')}}">
                    <div class="item-icon item-home-active"></div>
                    <div class="item-title item-title-active">首页</div>
                </div>
        @else
                <div class="item" data-link="{{url('/mobile')}}">
                    <div class="item-icon item-home"></div>
                    <div class="item-title">首页</div>
                </div>
        @endif
        @if ($tab === 'catlog')
                <div class="item" data-link="{{url('/mobile/catlog')}}">
                    <div class="item-icon item-so-active"></div>
                    <div class="item-title item-title-active">搜索</div>
                </div>
        @else
                <div class="item" data-link="{{url('/mobile/catlog')}}">
                    <div class="item-icon item-so"></div>
                    <div class="item-title">搜索</div>
                </div>
        @endif
        @if ($tab === 'cart')
                <div class="item" data-link="{{url('/mobile/cart')}}">
                    <div class="item-icon item-cart-active"></div>
                    <div class="item-title item-title-active">购物车</div>
                </div>
        @else
                <div class="item" data-link="{{url('/mobile/cart')}}">
                    <div class="item-icon item-cart"></div>
                    <div class="item-title">购物车</div>
                </div>
        @endif

        @if($tab === 'user')
                <div class="item" data-link="{{url('/mobile/user')}}">
                    <div class="item-icon item-mine-active"></div>
                    <div class="item-title item-title-active">我的</div>
                </div>
        @else
                <div class="item" data-link="{{url('/mobile/user')}}">
                    <div class="item-icon item-mine"></div>
                    <div class="item-title">我的</div>
                </div>
        @endif
    </div>
</nav>
